package com.community.backend.service;

import com.community.backend.pojo.Security;
import com.community.backend.pojo.User;
import com.community.backend.pojo.dto.LoginDTO;
import com.community.backend.pojo.dto.RegisterDTO;
import com.community.backend.pojo.dto.SecurityQueryDTO;
import com.community.backend.utils.PageResult;
import com.community.backend.utils.Result;

import java.util.List;

public interface SecurityService {

    PageResult securityByPage(SecurityQueryDTO securityQueryDTO);

    void update(Security security);

    void deleteById(String id);

    void addUser(Security security);

    Security login(LoginDTO loginDTO);

    void register(RegisterDTO registerDTO);
}
